package de.fmannan.addbook.editor;

import java.util.List;
import org.eclipse.ui.IEditorInput;
import de.fmannan.addbook.common.fieldtypes.IField;

public interface IGenericEditorInput extends IEditorInput {

	/**
	 * The FieldList is provided by the object that is adapted and allows the
	 * {@link GenericSectionPart} to build a Form especially for a given object.
	 * 
	 * @return a List of Fields belonging to the given EditorInput.
	 */
    public List<IField> getFieldsList();
    
    public void commit();
    
    public String getTitle();
}
